package com.symone.webcms.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.symone.webcms.model.ModuleField;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *   @description : ModuleField Mapper 接口
 *   ---------------------------------
 * 	 @author Archer Chu
 *   @since 2019-01-09
 */
@Repository
public interface ModuleFieldMapper extends BaseMapper<ModuleField> {

        boolean deleteFlagById(long id);

        List<ModuleField> findModuleFieldList();

        List<ModuleField> findModuleFieldList(Page<ModuleField> page,@Param("module") String module);
}